﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QuanLyRapChieuPhim.DTO
{
    class TTDatVeDTO
    {
        int m_DaXoa;
        int m_MaTTDatve;
        int m_MaTaiKhoan;
        int m_MaVe;
        int m_DonGia;
        DateTime m_ThoiGianDat;
        string m_TenDangNhap;
        string m_TenSuat;
        string m_TenPhim;

        public string TenPhim
        {
            get { return m_TenPhim; }
            set { m_TenPhim = value; }
        }

        public string TenSuat
        {
            get { return m_TenSuat; }
            set { m_TenSuat = value; }
        }

        public string TenDangNhap
        {
            get { return m_TenDangNhap; }
            set { m_TenDangNhap = value; }
        }

        public DateTime ThoiGianDat
        {
            get { return m_ThoiGianDat; }
            set { m_ThoiGianDat = value; }
        }

        public int DonGia
        {
            get { return m_DonGia; }
            set { m_DonGia = value; }
        }

        public int MaVe
        {
            get { return m_MaVe; }
            set { m_MaVe = value; }
        }

        public int MaTaiKhoan
        {
            get { return m_MaTaiKhoan; }
            set { m_MaTaiKhoan = value; }
        }

        public int MaTTDatve
        {
            get { return m_MaTTDatve; }
            set { m_MaTTDatve = value; }
        }

        public int DaXoa
        {
            get { return m_DaXoa; }
            set { m_DaXoa = value; }
        }

        public TTDatVeDTO()
        { 
            
        }

        public TTDatVeDTO(int _MaTTDatve,
                            int _MaTaiKhoan,
                            int _MaVe,
                            int _DonGia,
                            DateTime _ThoiGianDat)
        {
            MaTTDatve = _MaTTDatve;
            MaTaiKhoan = _MaTaiKhoan;
            MaVe = _MaVe;
            DonGia = _DonGia;
            ThoiGianDat = _ThoiGianDat;
        }
    }
}
